<?php defined('IN_ADMIN') or exit('No permission resources.');?>
<?php include $this->admin_tpl('header', 'admin');?>
<div class="subnav">
	<div class="content-menu ib-a blue line-x">
	   <a href="./index.php?m=agency&c=manage&a=init" style="font-size:14px;color: #0000FF;font-weight:bolder;"><em>返回上一级</em></a>	
	</div>
</div>
<div class="pad-10">

	<form name="myform" action="?m=<?php echo ROUTE_M?>&c=<?php echo ROUTE_C?>&a=<?php echo ROUTE_A?>&id=<?=$id?>" method="post"
		id="myform" enctype="multipart/form-data">
		<div class="content pad-10" id="show_div_1" style="height: auto">
			<fieldset>
				<legend>机构信息---详情</legend>
				<table width="100%" class="table_form">
					<tr>
						<td width="120"><?php echo L($column.'_name')?>：</td>
						<td>
						<?php if(isset($data['name']) && !empty($data['name']) ) { echo $data['name'];}else{echo"<span style='color:red;'>（未设置）</span>";}?>
					</tr>
					<tr>
						<td width="120"><?php echo L($column.'_full_name')?>：</td>
						<td >
						<?php if(isset($data['full_name']) && !empty($data['full_name']) ) { echo $data['full_name'];}else{echo"<span style='color:red;'>（未设置）</span>";}?></td>
					</tr>
					<tr>
						<td width="120"><?php echo L($column.'_website')?>：</td>
						<td >
						<?php if(isset($data['website']) && !empty($data['website']) ) { echo $data['website'];}else{echo"<span style='color:red;'>（未设置）</span>";}?></td>
					</tr>
					<tr>
						<td width="120"><?php echo L($column.'_branch')?>：</td>
						<td >
						<?php
 if(isset($this->agency_branch[$data['branch']]) && !empty($this->agency_branch[$data['branch']]) ) { echo $this->agency_branch[$data['branch']];}else{echo"<span style='color:red;'>（未设置）</span>";}
					?>
                		</td>
					</tr>
					<tr>
						<td width="120"><?php echo L($column.'_type')?>：</td>
						<td >
						<?php
 if(isset($this->agency_type[$data['type']]) && !empty($this->agency_type[$data['type']]) ) { echo $this->agency_type[$data['type']];}else{echo"<span style='color:red;'>（未设置）</span>";}
					?>
                        </td>
					</tr>
					<tr>
						<td width="120"><?php echo L($column.'_contact_teacher')?>：</td>
						<td >
						<?php if(isset($data['contact_teacher']) && !empty($data['contact_teacher']) ) { echo $data['contact_teacher'];}else{echo"<span style='color:red;'>（未设置）</span>";}?></td>
					</tr>
					<tr>
						<td width="120"><?php echo L($column.'_contact_tel')?>：</td>
						<td >
						<?php if(isset($data['contact_tel']) && !empty($data['contact_tel']) ) { echo $data['contact_tel'];}else{echo"<span style='color:red;'>（未设置）</span>";}?></td>
					</tr>
					<tr>
						<td width="120"><?php echo L($column.'_sign_website')?>：</td>
						<td >
						<?php if(isset($data['sign_website']) && !empty($data['sign_website']) ) { echo $data['sign_website'];}else{echo"<span style='color:red;'>（未设置）</span>";}?></td>
					</tr>
					<tr>
						<td width="120"><?php echo L($column.'_sign_tel')?>：</td>
						<td >
						<?php if(isset($data['sign_tel']) && !empty($data['sign_tel']) ) { echo $data['sign_tel'];}else{echo"<span style='color:red;'>（未设置）</span>";}?></td>
					</tr>
					<tr>
					<tr>
						<td width="120"><?php echo L($column.'_image_horizontal')?>：</td>

						<td>
						<?php if(isset($data['image_horizontal']) && !empty($data['image_horizontal'])){?><img src="<?=$data['image_horizontal']?>"  width="200" /><?php }else{echo"<span style='color:red;'>（未设置）</span>";}?></td>
					</tr>
					<tr>
						<td width="120"><?php echo L($column.'_image_vertical')?>：</td>

						<td>
						<?php if(isset($data['image_vertical']) && !empty($data['image_vertical'])){?><img src="<?=$data['image_vertical']?>"  width="200" /><?php }else{echo"<span style='color:red;'>（未设置）</span>";}?></td>
					</tr>
					<tr>
						<td width="120"><?php echo L($column.'_image_square')?>：</td>

						<td>
						<?php if(isset($data['image_square']) && !empty($data['image_square'])){?><img src="<?=$data['image_square']?>"  width="200" /><?php }else{echo"<span style='color:red;'>（未设置）</span>";}?></td>
					</tr>
					<tr>
						<td width="120"><?php echo L($column.'_description')?>：</td>
						<td>
						<?php if(isset($data['description']) && !empty($data['description']) ) { echo $data['description'];}else{echo"<span style='color:red;'>（未设置）</span>";}?>
						</td>
					</tr>
				</table>
			</fieldset>

		</div>
		<div class="bk15"></div>

	</form>

</div>
</body>
</html>